<%--
  Created by IntelliJ IDEA.
  User: dailyblue
  Date: 2025/7/15
  Time: 14:40
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<h3>response对象----4-1.jsp</h3>
<h4>4-1</h4>
<%
    int status = response.getStatus();
    response.setCharacterEncoding("utf-8");
    String encoding = response.getCharacterEncoding();
    out.print("status:" + status + "<br/>");
    out.print("encoding:" + encoding);
    // 页面跳转 重定向
    response.sendRedirect("4-2.jsp");
%>
</body>
</html>
